package com.lg.atp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lg.atp.dao.TblTestAttachmentMapper;
import com.lg.atp.entity.TblTestAttachment;
import com.lg.atp.service.ITestAttachmentService;

@Service("ITestAttachmentService")
public class ITestAttachmentServiceImpl implements ITestAttachmentService {

	@Autowired
	private TblTestAttachmentMapper tblTestAttachmentDao;

	@Override
	public int deleteByTestAttachmentId(Long id) {
		// TODO Auto-generated method stub
		return tblTestAttachmentDao.deleteByTestAttachmentId(id);
	}

	@Override
	public int insertTestAttachment(TblTestAttachment record) {
		// TODO Auto-generated method stub
		return tblTestAttachmentDao.insertTestAttachment(record);
	}

	@Override
	public int insertTestAttachmentSelective(TblTestAttachment record) {
		// TODO Auto-generated method stub
		return tblTestAttachmentDao.insertTestAttachmentSelective(record);
	}

	@Override
	public TblTestAttachment selectByTestAttachmentId(Long id) {
		// TODO Auto-generated method stub
		return tblTestAttachmentDao.selectByTestAttachmentId(id);
	}

	@Override
	public int updateByTestAttachmentIdSelective(TblTestAttachment record) {
		// TODO Auto-generated method stub
		return tblTestAttachmentDao.updateByTestAttachmentIdSelective(record);
	}

	@Override
	public int updateByTestAttachmentId(TblTestAttachment record) {
		// TODO Auto-generated method stub
		return tblTestAttachmentDao.updateByTestAttachmentId(record);
	}

}
